package com.cloud.punish.tasklist.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name = "task_list_tab_menu")
public class TaskListTabMenu {
	@Id
    @Column(name = "menu_id")
	private long menuId;
	
	@Id
	@Column(name = "tab_id")
	private long tabId;
	
	@Column(name = "menu_name")
	private String menuName;
	
	@Column(name = "display_order")
	private int displayOrder;


	@Column(name = "delete_flag")
	private int deleteFlag;

	@Transient
    private Integer selected = 1;

	public Integer getSelected() {
		return selected;
	}

	public void setSelected(Integer selected) {
		this.selected = selected;
	}

	public long getMenuId() {
		return menuId;
	}

	public void setMenuId(long menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public int getDisplayOrder() {
		return displayOrder;
	}

	public void setDisplayOrder(int displayOrder) {
		this.displayOrder = displayOrder;
	}

	public long getTabId() {
		return tabId;
	}

	public void setTabId(long tabId) {
		this.tabId = tabId;
	}

	public int getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(int deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
}
